/**
 * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

package fr.smile.liferay.portlet.news.model;

import com.liferay.portal.kernel.annotation.AutoEscape;
import com.liferay.portal.kernel.exception.SystemException;
import com.liferay.portal.model.BaseModel;
import com.liferay.portal.service.ServiceContext;

import com.liferay.portlet.expando.model.ExpandoBridge;

import java.io.Serializable;

import java.util.Date;

/**
 * The base model interface for the NewsEntry service. Represents a row in the &quot;News_NewsEntry&quot; database table, with each column mapped to a property of this class.
 *
 * <p>
 * This interface and its corresponding implementation {@link fr.smile.liferay.portlet.news.model.impl.NewsEntryModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link fr.smile.liferay.portlet.news.model.impl.NewsEntryImpl}.
 * </p>
 *
 * <p>
 * Never modify or reference this interface directly. All methods that expect a news entry model instance should use the {@link NewsEntry} interface instead.
 * </p>
 *
 * @author Brian Wing Shun Chan
 * @see NewsEntry
 * @see fr.smile.liferay.portlet.news.model.impl.NewsEntryImpl
 * @see fr.smile.liferay.portlet.news.model.impl.NewsEntryModelImpl
 * @generated
 */
public interface NewsEntryModel extends BaseModel<NewsEntry> {
	/**
	 * Gets the primary key of this news entry.
	 *
	 * @return the primary key of this news entry
	 */
	public long getPrimaryKey();

	/**
	 * Sets the primary key of this news entry
	 *
	 * @param pk the primary key of this news entry
	 */
	public void setPrimaryKey(long pk);

	/**
	 * Gets the uuid of this news entry.
	 *
	 * @return the uuid of this news entry
	 */
	@AutoEscape
	public String getUuid();

	/**
	 * Sets the uuid of this news entry.
	 *
	 * @param uuid the uuid of this news entry
	 */
	public void setUuid(String uuid);

	/**
	 * Gets the entry id of this news entry.
	 *
	 * @return the entry id of this news entry
	 */
	public long getEntryId();

	/**
	 * Sets the entry id of this news entry.
	 *
	 * @param entryId the entry id of this news entry
	 */
	public void setEntryId(long entryId);

	/**
	 * Gets the company id of this news entry.
	 *
	 * @return the company id of this news entry
	 */
	public long getCompanyId();

	/**
	 * Sets the company id of this news entry.
	 *
	 * @param companyId the company id of this news entry
	 */
	public void setCompanyId(long companyId);

	/**
	 * Gets the user id of this news entry.
	 *
	 * @return the user id of this news entry
	 */
	public long getUserId();

	/**
	 * Sets the user id of this news entry.
	 *
	 * @param userId the user id of this news entry
	 */
	public void setUserId(long userId);

	/**
	 * Gets the user uuid of this news entry.
	 *
	 * @return the user uuid of this news entry
	 * @throws SystemException if a system exception occurred
	 */
	public String getUserUuid() throws SystemException;

	/**
	 * Sets the user uuid of this news entry.
	 *
	 * @param userUuid the user uuid of this news entry
	 */
	public void setUserUuid(String userUuid);

	/**
	 * Gets the user name of this news entry.
	 *
	 * @return the user name of this news entry
	 */
	@AutoEscape
	public String getUserName();

	/**
	 * Sets the user name of this news entry.
	 *
	 * @param userName the user name of this news entry
	 */
	public void setUserName(String userName);

	/**
	 * Gets the create date of this news entry.
	 *
	 * @return the create date of this news entry
	 */
	public Date getCreateDate();

	/**
	 * Sets the create date of this news entry.
	 *
	 * @param createDate the create date of this news entry
	 */
	public void setCreateDate(Date createDate);

	/**
	 * Gets the modified date of this news entry.
	 *
	 * @return the modified date of this news entry
	 */
	public Date getModifiedDate();

	/**
	 * Sets the modified date of this news entry.
	 *
	 * @param modifiedDate the modified date of this news entry
	 */
	public void setModifiedDate(Date modifiedDate);

	/**
	 * Gets the class name of the model instance this news entry is polymorphically associated with.
	 *
	 * @return the class name of the model instance this news entry is polymorphically associated with
	 */
	public String getClassName();

	/**
	 * Gets the class name id of this news entry.
	 *
	 * @return the class name id of this news entry
	 */
	public long getClassNameId();

	/**
	 * Sets the class name id of this news entry.
	 *
	 * @param classNameId the class name id of this news entry
	 */
	public void setClassNameId(long classNameId);

	/**
	 * Gets the class p k of this news entry.
	 *
	 * @return the class p k of this news entry
	 */
	public long getClassPK();

	/**
	 * Sets the class p k of this news entry.
	 *
	 * @param classPK the class p k of this news entry
	 */
	public void setClassPK(long classPK);

	/**
	 * Gets the title of this news entry.
	 *
	 * @return the title of this news entry
	 */
	@AutoEscape
	public String getTitle();

	/**
	 * Sets the title of this news entry.
	 *
	 * @param title the title of this news entry
	 */
	public void setTitle(String title);

	/**
	 * Gets the description of this news entry.
	 *
	 * @return the description of this news entry
	 */
	@AutoEscape
	public String getDescription();

	/**
	 * Sets the description of this news entry.
	 *
	 * @param description the description of this news entry
	 */
	public void setDescription(String description);

	/**
	 * Gets the content of this news entry.
	 *
	 * @return the content of this news entry
	 */
	@AutoEscape
	public String getContent();

	/**
	 * Sets the content of this news entry.
	 *
	 * @param content the content of this news entry
	 */
	public void setContent(String content);

	/**
	 * Gets the display date of this news entry.
	 *
	 * @return the display date of this news entry
	 */
	public Date getDisplayDate();

	/**
	 * Sets the display date of this news entry.
	 *
	 * @param displayDate the display date of this news entry
	 */
	public void setDisplayDate(Date displayDate);

	/**
	 * Gets the expiration date of this news entry.
	 *
	 * @return the expiration date of this news entry
	 */
	public Date getExpirationDate();

	/**
	 * Sets the expiration date of this news entry.
	 *
	 * @param expirationDate the expiration date of this news entry
	 */
	public void setExpirationDate(Date expirationDate);

	/**
	 * Gets a copy of this news entry as an escaped model instance by wrapping it with an {@link com.liferay.portal.kernel.bean.AutoEscapeBeanHandler}.
	 *
	 * @return the escaped model instance
	 * @see com.liferay.portal.kernel.bean.AutoEscapeBeanHandler
	 */
	public NewsEntry toEscapedModel();

	public boolean isNew();

	public void setNew(boolean n);

	public boolean isCachedModel();

	public void setCachedModel(boolean cachedModel);

	public boolean isEscapedModel();

	public void setEscapedModel(boolean escapedModel);

	public Serializable getPrimaryKeyObj();

	public ExpandoBridge getExpandoBridge();

	public void setExpandoBridgeAttributes(ServiceContext serviceContext);

	public Object clone();

	public int compareTo(NewsEntry newsEntry);

	public int hashCode();

	public String toString();

	public String toXmlString();
}